// 单一职责原则
package main

import "fmt"

type ClothesShop struct{}

func (cs *ClothesShop) Style() {
	fmt.Println("逛街装扮...")
}

type ClothesWork struct{}

func (cw *ClothesWork) Style() {
	fmt.Println("工作装扮...")
}

func main() {
	// 逛街的业务
	cs := ClothesShop{}
	cs.Style()

	// 工作的业务
	cw := ClothesWork{}
	cw.Style()
}
